const { ccclass, property } = cc._decorator;

@ccclass
export default class PlayerDataMgr {
   public _bind_wx = 0;
   public _wx_gender = "保密";
   public _wx_head = "";
   public _yid = "yid_read_failed";
   public _create_time = "";
   public _user_id = "";
   public _user_name = "";
   public _cash_balance = 0;
   public _gold_balance = 0;
   public _new_user = 1;
   public _day_video_count = 0;
   public _total_login_days = 0;
   public _total_sign_days = 0;
   public _money_balance = 0;
   public _smile = 0;
   public _user_level = 0;
   public _user_level_advance = 0;
   public _reco_switch = 1;
   public _is_reviewer = 0;
   public _new_add_flag = 0;

    constructor() {
        this._bind_wx = 0;
        this._wx_gender = "保密";
        this._wx_head = "";
        this._yid = "yid_read_failed";
        this._create_time = "";
        this._user_id = "";
        this._user_name = "";
        this._cash_balance = 0;
        this._gold_balance = 0;
        this._new_user = 1;
        this._day_video_count = 0;
        this._total_login_days = 0;
        this._total_sign_days = 0;
        this._money_balance = 0;
        this._smile = 0;
        this._user_level = 0;
        this._user_level_advance = 0;
        this._reco_switch = 1;
        this._is_reviewer = 0;
        this._new_add_flag = 0;
    }

    get bind_wx() {
        return this._bind_wx;
    }
    set bind_wx(value) {
        this._bind_wx = value;
    }

    get yid() {
        return this._yid;
    }
    set yid(value) {
        this._yid = value;
    }

    get create_time() {
        return this._create_time;
    }
    set create_time(value) {
        this._create_time = value;
    }

    get user_id() {
        return this._user_id;
    }
    set user_id(value) {
        this._user_id = value;
    }

    get user_name() {
        return this._user_name;
    }
    set user_name(value) {
        this._user_name = value;
    }

    get cash_balance() {
        return this._cash_balance;
    }
    set cash_balance(value) {
        this._cash_balance = value;
    }

    get new_user() {
        return this._new_user;
    }
    set new_user(value) {
        this._new_user = value;
    }

    get wx_gender() {
        return this._wx_gender;
    }
    set wx_gender(value) {
        this._wx_gender = value;
    }

    get wx_head() {
        return this._wx_head;
    }
    set wx_head(value) {
        this._wx_head = value;
    }

    get gold_balance() {
        return this._gold_balance;
    }
    set gold_balance(value) {
        debugger
        this._gold_balance = value;
    }

    get day_video_count() {
        return this._day_video_count;
    }
    set day_video_count(value) {
        this._day_video_count = value;
    }

    get total_login_days() {
        return this._total_login_days;
    }
    set total_login_days(value) {
        this._total_login_days = value;
    }

    get total_sign_days() {
        return this._total_sign_days;
    }
    set total_sign_days(value) {
        this._total_sign_days = value;
    }

    get money_balance() {
        return this._money_balance;
    }
    set money_balance(value) {
        this._money_balance = value;
    }

    get smile() {
        return this._smile;
    }
    set smile(value) {
        this._smile = value;
    }

    get user_level() {
        return this._user_level;
    }
    set user_level(value) {
        this._user_level = value;
    }

    get user_level_advance() {
        return this._user_level_advance;
    }
    set user_level_advance(value) {
        this._user_level_advance = value;
    }

    get reco_switch() {
        return this._reco_switch;
    }
    set reco_switch(value) {
        this._reco_switch = value;
    }

    get is_reviewer() {
        return this._is_reviewer;
    }
    set is_reviewer(value) {
        this._is_reviewer = value;
    }

    get new_add_flag() {
        return this._new_add_flag;
    }
    set new_add_flag(value) {
        this._new_add_flag = value;
    }
}